package club.cearnach.api.vo;

import lombok.Data;

/**
 * 登录回显信息
 *
 * @author 阮胜
 * @date 2018/5/23 16:03
 */
@Data
public class LoginResultVO {
    private Boolean success;
    private String error;
    private String privilege;
    public LoginResultVO(Boolean success, String error) {
        this.success = success;
        this.error = error;
    }

    public LoginResultVO(Boolean success) {
        this.success = success;
    }

    public LoginResultVO() {

    }
}
